package com.lagou.demo.service;

import com.lagou.edu.mvcframework.pojo.Handler;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 定义拦截器接口
 */
public interface HandlerInteceptor {
    //请求前进行处理处理
    void preHandle(HttpServletRequest HttpServletRequest, HttpServletResponse httpServletResponse, Handler handler);
}
